<script type="text/javascript">
function login()
{
var un=/^[a-zA-Z0-9.\-_$@*!]{3,30}$/;

x1=document.sf.userName.value;

if(!un.test(x1))
{
 alert("invalid username");
 document.sf.uname.value="";
 document.sf.uname.focus();
 return false;
}
</script>

<link rel="stylesheet" type="text/css" href="css/structure.css">



<div class="box">
	<form class="box login" name="sf" method="post" action="studentportal">
			<label>Student Search</label> <input type="text" name="userName" tabindex="1"
				placeholder="student id" required> 
				<input type="submit" class="btnLogin" value="search"
				tabindex="4">
	</form>
</div>

